ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	text-decoration: none;
	color: #ccc;
}

.menu-wrap {
	position: relative;
	width: 200px;
	height: 200px;
	background-color: #424242;
	margin: 50px;
}

.menu-wrap .main {
	width: 200px;
	height: 100%;
}

.menu-wrap .main .main-item {
	height: 40px;
	line-height: 40px;
	text-align: center;
}

.menu-wrap .main .main-item a {
	display: block;
	width: 100%;
	height: 100%;
}

.menu-wrap .main .main-item.active a  {
	background-color: #000;
	color: orange;
}

.menu-wrap .sub {
	position: absolute;
	left: 200px;
	top: 0;
	width: 400px;
	height: 100%;
	background-color: #ccc;
}

.menu-wrap .sub .sub-list {
	height: 100%;
}

.menu-wrap .sub .sub-item{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.menu-wrap .sub.hide {
	display: none;
}

.menu-wrap .sub .sub-item.active {
	display: block;
}
